﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Meraz.Core.Model;
using System.ComponentModel;

namespace Meraz.Web.Models
{
    public class BlogStudyModel
    {
        [DisplayName("Permalink")]
        public string Permalink { get; set; }
        public BlogStudy Study { get; set; }
        public List<Blog> Blogs { get; set; }
        public List<Person> People { get; set; }
        public List<Topic> Topics { get; set; }
    }
    public class PostModel
    {
        public Post Post { get; set; }
        public List<string[]> Aliases { get; set; }
        public List<string[]> Issues { get; set; }
        public List<string[]> Links { get; set; }
        public string Message { get; set; }
    }
    public class SavePostModel
    {
        public int ID { get; set; }
        public string BlogName { get; set; }
        public string Permalink { get; set; }
        public string Published { get; set; }
        public string Title { get; set; }
        public IEnumerable<int> Posters { get; set; }
        public IEnumerable<string[]> Issues { get; set; }
        public IEnumerable<string[]> Links { get; set; }
    }
    public class PosterModel
    {
        public int PostID { get; set; }
        public string AliasName { get; set; }
    }
    public class LinkModel
    {
        public int PostID { get; set; }
        public string Href { get; set; }
    }
    public class PersonModel
    {
        public Person Person { get; set; }
        public string Message { get; set; }
    }
    public class IssueModel
    {
        public int PostID { get; set; }
        public string TopicName { get; set; }
    }

    public class PostTopicsModel
    {
        public string Topics { get; set; }
    }
}